package com.xiaoshuidi.cloud.module.bpm.convert.sworecord;


import com.xiaoshuidi.cloud.module.bpm.controller.admin.sworecord.vo.SwoTicketAssignRecordCreateReqVO;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.sworecord.vo.SwoTicketAssignRecordRespVO;
import com.xiaoshuidi.cloud.module.bpm.dal.dataobject.sworecord.SwoTicketAssignRecordDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 服务工单记录 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface SwoTicketAssignRecordConvert {

    SwoTicketAssignRecordConvert INSTANCE = Mappers.getMapper(SwoTicketAssignRecordConvert.class);

    SwoTicketAssignRecordDO convert(SwoTicketAssignRecordCreateReqVO bean);

    List<SwoTicketAssignRecordRespVO> convert(List<SwoTicketAssignRecordDO> assignRecordDOS);
}
